WPPayForm\App\Modules\PaymentMethods\Stripe\Stripe A

Total Complexity 73
Dependencies 6
Dependents 15
Total lines 458
Lines of code 360
Logical lines of code 142
Comment lines 17
Methods 23
Properties 0

Methods 23

Method Rating Maintainability Complexity Lines of code
savePaymentSettings()
A
44 9 47
addAddressToView()
S
50 5 34
getSecretKey()
S
57 6 17
getPubKey()
S
57 6 17
getMode()
S
62 6 10
mapper()
S
60 5 14
addTransactionUrl()
S
60 5 13
choosePaymentMethod()
S
63 5 11
maybeSignupFeeToPaymentItems()
S
53 4 23
formatAddress()
S
55 4 21
mapSettings()
S
42 1 65
pushAddressToInput()
S
62 3 11
getStripePaymentMethodByElement()
S
64 3 10
isStripeKeysDefined()
S
79 2 3
registerHooks()
S
57 1 15
getStripeSettings()
S
60 1 14
getPaymentSettings()
S
69 1 7
makeSubscriptionSync()
S
79 1 3
getDynamicStripeSettings()
S
76 1 4
routePaymentHandler()
S
70 1 5
addPaymentMethodStyle()
S
72 1 5
addLocalizeVars()
S
66 1 8
cancelSubscription()
S
78 1 3